export default function (emit:any,update:string) {
  function close() {
    emit(update, false)
  }

  return {
    close
  }
}
